package com.cxyd.common.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public abstract class WmsBaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 创建用户
     */
    @TableField(fill = FieldFill.INSERT)
    @ExcelIgnore
    private Long creator;
    /**
     * 创建日期
     */
    @TableField(fill = FieldFill.INSERT)
    @ExcelIgnore
    private Date createDate;


    /*表中不存在的数据,用于前端用户编号展示*/
    @TableField(exist = false)
    @ExcelIgnore
    private String creatorName;
    @TableField(exist = false)
    @ExcelIgnore
    private String updaterName;
}
